
abstract class DirectChoiceSort {

	public static void main(String[] args) {



		int [] sql= {2,4,5,6,3,1,7,8,9,0};
		int key;
		int change;
		for(int i=0;i<sql.length;i++){
			key=i;
			for(int j=i	+1;j<sql.length;j++)
			{
				if(sql[key]>sql[j]){
					key=j;
				}
			}
			if(key!=i)
			{change=sql[i];
			sql[i]=sql[key];
			sql[key]=change;}
		}
		for(int i=0;i<sql.length;i++){
			System.out.println(sql[i]);
		}
		
		
	}



}
